package com.freight.message.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信模板对象 msg_sms_tpl
 * 
 * @author ryb
 * @date 2020-12-21
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("msg_sms_tpl")
public class MsgSmsTpl implements Serializable {

private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String name;

    /** 模板code */
    @Excel(name = "模板code")
    private String code;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** $column.columnComment */
    private Date createTime;

    /** 模板内容 */
    @Excel(name = "模板内容")
    private String content;

}
